/* STRUCTURE */

html, body {
    background-color: #fff;
}

body {
    position: relative; /* IMPORTENT FOR SCROLLSPY WORKING */
}

.container.content {
    margin-top: 0;
    margin-bottom: 0;
}

.container-fluid.content {
    margin-top: 0;
    margin-bottom: 0;
}

/* LAY-OUT */

h1 {
    font-size: 2.25em;
    margin-top: .5em;
}

h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 20px;
    margin-top: 0;
}

h2:before {
    content: ' ';
    display: block;
    height: 4px;
    width: 68px;
    background: #000;
    border-radius: 2px;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 20px;
    margin-top: 20px;
}

h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 0;
}

p {
    margin: 1em 0;
}

a, a:hover, a:link, a:visited, a:link:active, a:visited:active {
    color: #000;
}

a {
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.grey {
    background: #F1F1F1;
}

/* BANNER */

.nopadding {
    padding: 0;
}

.banner {
    height: 250px;
    background: url(/style/custom/dh/images/branding/banner.jpg) no-repeat center center;
    background-size: cover;
}

.bredeWelvaart .banner {
    display: none;
}

/* First content block */

.page__content {
    position: relative;
}

.page__content h1 {
    padding-right: 40px;
}



.download-wrapper {
    position: absolute;
    right: 10px;
    top: 10px;
}

/* Table */

button.toggle {
    font-family: "TheMixBold", sans-serif;
    cursor: pointer;
    border: none;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px -2px rgb(0 0 0 / 20%);
}

button.toggle span {
    background: #FFF;
    padding: 5px 0;
    display: inline-block;
    width: 120px;
    font-weight: 600;
    font-size: 0.9em;
}

button.toggle span.active {
    background: #1261A3;
    color: #FFF;
}

button.toggle span.now {
    border-radius: 15px 0 0 15px;
}

button.toggle span.later {
    border-radius: 0 15px 15px 0;
}



button.table-toggle {
    font-family: "TheMixBold", sans-serif;
    cursor: pointer;
    border: solid 1px #000;
    padding: 1px 3px;
    border-radius: 5px 5px 5px 5px;
    background: #f8d62d;
}

table {
    position: relative;
    margin-bottom: 15px;
}

.table-later {
    display: none;
}

tr#myHeader {
    height: 60px;
}

table tr {
    border-bottom: 1px solid #ddd;
}

table tr:last-of-type {
    border-bottom: none;
}

table tr th:first-of-type {
    width: 26%;
    text-align: left;
}

table tr td:first-of-type {
    width: 26%;
    /* border-right: 1px solid #ddd; */
    position: relative;
    text-align: left;
}

table tr th, 
table tr td {
    width: 13.4333333%;
    font-size: 12px;
}

table tr th {
    background: #227b3c;
    padding: 3px 25px 3px 5px;
    text-align: right;
    color: #fff;
    text-transform: uppercase;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 10;
}

table tr td {
    background: #FFF;
    padding: 3px 25px 3px 4px;
    position: relative;
    text-align: right;
}

td.table_theme {
    padding: 6px 8px;
    /* font-size: 16px; */
    font-weight: 700;
    background: #AACEB3;
    /* color: #FFF; */
    /* border-right: none !important; */
    /* text-transform: uppercase; */
}

td.positive::after {
    content:'';
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(images/up-trend.svg) no-repeat center center;
    background-size: contain;
}

td.negative::after {
    content:'';
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(images/down-trend.svg) no-repeat center center;
    background-size: contain;
}

td.negative-growth::after {
    content:'';
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(images/negative-up-trend.svg) no-repeat center center;
    background-size: contain;
}

td.positive-decline::after {
    content:'';
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(images/positive-down-trend.svg) no-repeat center center;
    background-size: contain;
}

td.top-ranking::after {
    content:'';
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(images/top-ranking.svg) no-repeat center center;
    background-size: contain;
}

td.bottom-ranking::after {
    content:'';
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(images/bottom-ranking.svg) no-repeat center center;
    background-size: contain;
}

.remark.table-now {
    font-size: 75%;
}

.tableExtra {
    display: none;
}

.more-info {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: none;
    background: transparent url(images/info-circle-solid.svg) no-repeat top left;
    background-size: cover;
    text-align: center;
    box-sizing: border-box;
    box-shadow: none;
    text-indent: -9999px;
    cursor: pointer;
}

#info-popup {
    display: none;
    position: absolute;
    z-index: 100;
}

.info-popup-content {
    display: inline-block;
    width: auto;
    max-width: 330px;
    padding: 10px 20px;
    background: #FFF;
    color: #4D4D4D;
    font-size: 12px;
    font-weight: normal;
    box-shadow: 2px 2px 20px -12px #4d4d4d;
}

.info-popup-content p {
    margin: 0;
}

.info-popup-content:after {
    position: absolute;
    content: "";
    display: block;
    border-width: 22px 13px 0 13px;
    border-style: solid;
    border-color: #FFF transparent transparent transparent;
}

 button.more-info.example {
            position: relative;
            transform: none;
            top: 6px;
            right: 0px;
}

.print {
    display: none;
}

.print table tr th:first-of-type, .print table tr td:first-of-type {
    width: 25%;
    text-align: left;
}

.print table tr td, .print table tr th {
    text-align: left;
}

.print table tr th, .print table tr td {
    width: 75%;
    font-size: 12px;
}


    .scrollSpy-offSet {
        padding-top: 1.5em;
        padding-bottom: 1.5em;
    }


/* MEDIA QUERIES */

@media (min-width: 992px) {
    .container {
        width: 100% !important;
    }
    .home-padding {
        padding-top: .5em;
        padding-bottom: 1.5em;
    }

    .scrollSpy-offSet {
        padding-top: 3em;
        padding-bottom: 0;
    }

    .scrollSpy-offSet.nopadding {
        padding-top: 0;
        padding-bottom: 0;
    }

    .scrollSpy-offSet.padding-bottom {
        padding-bottom: 2em;
    }

    .scrollSpy-offSet #ScrollSpy-toelichting, .scrollSpy-offSet #ScrollSpy-situatie, .scrollSpy-offSet #ScrollSpy-ontwikkelingen, .scrollSpy-offSet #ScrollSpy-positie, .scrollSpy-offSet #ScrollSpy-resultaten {
        padding-bottom: 3em;
    }
}

@media only screen and (max-width: 767px){
    h1 {
        font-size: 1.6em;
    }
    
    .download-wrapper {
        top: 5px;
    }
}



/* MEDIA QUERIE PRINT */


@media print {
    @page {
        size: auto !important
    }
    .blocks-spacing {
        padding-top: 70px;
    }
    body {
        margin-top: 0;
        padding-top: 0;
        padding-top: 40px !important;
    }

    .print-button, #myBtn {
        display: none;
    }

    .navbar.navbar-light {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        border-width: 0 !important;
    }

    .navbar-light .navbar-toggler {
        display: none;
    }

    figure div#homelinks, span.no_print {
        display: none;
    }

    a:not(.btn) {
        text-decoration: none;
    }

    .container-fluid.content {
        margin-top: 1em !important;
    }

    /*ul.square li {
        list-style-type: none;
    }

    ul.square {
        padding-left: 0px;
    }*/

    tr#myHeader {
    height: 80px;
    }

    .page-break {
        page-break-after: always;
        height: 0px;
        width: 100%;
        background: #ffa500;
    }

    .page-break-after {
        page-break-before: always;
        height: 0px;
        width: 100%;
        /*background: #ffa500;*/
        padding-top: 80px !important;
        page-break-after: avoid !important;
    }

    .noprint {
        display: none;
    }

    .print {
        display: block;
    }

    .print.intro {
        display: inline-block;
    }    

    .default-color {
        background: #FFF !important;
    }
    
    .more-info,
    .toggle,
    .table-toggle {
        display: none;
    }
    
    .table-later {
        display: block;
    }
    
    table tr {
        display: flex;
        border-bottom: 2px solid #000;
    }
    
    table tr td, 
    table tr th {
        display: inline-block !important;
    }
    
    table tr th:first-of-type,
    table tr td:first-of-type {
        width: 20%;
    }
    
    table tr th, 
    table tr td {
        width: 10%;
    }
    
    table tr th {
        text-transform: none;
    }
    
    td.table_theme {
        width: 100% !important;
    }
    
    td::after {
        top: 4px !important;
        transform: none !important;

    }
}